import Vue from 'vue'
import 'muse-ui/lib/styles/base.less';
import Helpers from 'muse-ui/lib/Helpers';
import {Grid, Button, Snackbar ,Icon ,GridList ,Dialog, Form, TextField, BottomSheet, SlidePicker, Menu, List, LoadMore,Progress,Divider,Carousel} from 'muse-ui';
import Toast from 'muse-ui-toast';
import 'muse-ui/lib/styles/theme.less';
import 'muse-ui-loading/dist/muse-ui-loading.css';
import 'muse-ui-message/dist/muse-ui-message.css';
import vuePicturePreview from 'vue-picture-preview';
import Message from 'muse-ui-message';
import Loading from 'muse-ui-loading';
import slider from 'vue-concise-slider'// 引入slider组件

//弹框插件
Vue.use(Helpers);
Vue.use(Message);
Vue.use(List);
Vue.use(Menu);
Vue.use(Form);
Vue.use(TextField);
//图片预览插件
Vue.use(vuePicturePreview)
Vue.use(Toast,{
  position: 'top',               // 弹出的位置
  time: 2000,                       // 显示的时长
  closeIcon: 'close',               // 关闭的图标
  close: false,                      // 是否显示关闭按钮
});
Vue.use(Grid);
Vue.use(GridList);
Vue.use(Icon);
Vue.use(Snackbar);
Vue.use(Button);
Vue.use(Dialog);
Vue.use(BottomSheet);
Vue.use(SlidePicker);
Vue.use(LoadMore);
Vue.use(Progress);
Vue.use(Loading);
Vue.use(Divider);
Vue.use(Carousel);
